﻿@model myMvcBlog.Models.AdminHomeView
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<div id="dashboard" class="accordion">
    <h3>@Html.ActionLink("Dashboard", "Index", new { controller = "Admin" })</h3>
    <div id="dashboardcontent">
        <ul>
            <li>@Html.ActionLink(Model.PostCount + " Posts", "Posts")</li>
            <li>@Html.ActionLink(Model.CategoryCount + " Categories", "Categories")</li>
            <li>@Html.ActionLink(Model.CommentCount + " Comments", "Comments")</li>
            <li>@Html.ActionLink(Model.TagCount + " Tags", "Tags")</li>
        </ul>
    </div>
</div>
